package com.contract.pojo.output;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * Created with IntelliJ IDEA.
 *
 * @author liw
 * @version 1.0
 * @date 2023/12/29 16:50
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CarouselOutput extends BaseOutput implements Serializable {

    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "人员姓名")
    @NotNull
    private String name;

    @ApiModelProperty(value = "图片地址")
    @NotNull
    private Long url;

    @ApiModelProperty(value = "日期")
    @NotNull
    private LocalDate date;

    @ApiModelProperty(value = "状态")
    @NotNull
    private String state;

}
